projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73dc877
)
(openp): Don't use O_RDONLY.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 25 May 1994 04:36:48 +0000
(
04:36
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 25 May 1994 04:36:48 +0000
(
04:36
+0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index babeaa286820aca6109584df50775b4b82169c91..dc82b66dce8d529e00594c161216f377cb76c6ad 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-562,7
+562,7
@@
openp (path, str, suffix, storeptr, exec_only)
if (exec_only)
fd = (access (fn, X_OK) == 0) ? 1 : -1;
else
- fd = open (fn,
O_RDONLY
, 0);
+ fd = open (fn,
0
, 0);
if (fd >= 0)
{